package cn.fisok.pdman.dbreverse;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Module implements Serializable {
    @JSONField(ordinal = 10)
    private String name ;
    @JSONField(ordinal = 20)
    private String code ;
    @JSONField(ordinal = 30)
    private List<Entity> entities = new ArrayList<Entity>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<Entity> getEntities() {
        return entities;
    }

    public void setEntities(List<Entity> entities) {
        this.entities = entities;
    }
}
